pixelcache: use factor instead of margin
authorChristian Hergert <christian@hergert.me>
Mon, 14 Sep 2015 04:08:57 +0000 (21:08 -0700)
committerChristian Hergert <christian@hergert.me>
Wed, 16 Sep 2015 18:24:29 +0000 (11:24 -0700)
commite55a8b6aefe1ef71d90c06297efb7c40f449e1bc
tree3e36931c8afbb559b0ec2c3212c46b947833930f
parent28484e3a396b1f2189f82e12713d13e249c354d5
pixelcache: use factor instead of margin

Instead of using a fixed size, use a factor of the surface size. This
helps in situations where animations of surrounding widgets are used
and cause a rapid rate of surface destroy/create cycles.
gtk/gtkpixelcache.c